package it.wyx.kafkaclients;

import org.apache.kafka.clients.producer.ProducerConfig;

import java.util.Properties;

/**
 * @author wyx
 * @version V TODO
 * @Date 2022/10/30
 */
public class PropertiesConfig {
	public static void main(String[] args) {
		Properties properties = new Properties();

		properties.put("retry.backoff.ms", 1000);
		// 或者
		properties.put(ProducerConfig.RETRIES_CONFIG, Integer.MAX_VALUE);
	}
}
